package com.atldy.commerce;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * <h2> 启动类 </h2>
 *
 * @Author: li-dong-yang
 * @CreateTime: 2021-10-16 16:31
 */
@SpringBootApplication
@EnableDiscoveryClient
//@GlobalTransactional
@EnableCircuitBreaker
@EnableFeignClients
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }
}